import java.util.Scanner;

public class Learn10 {
    public static int max2(int x,int y){
        return x > y?x:y;
    }
    public static int max3(int x,int y,int z){
        return x > max2(y,z)?x:max2(y, z);
    }
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        int ret = max3(a,b,c);
        System.out.println(ret);
    }
}
